<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xsi:schemaLocation="http://www.w3.org/1999/XSL/Transform xslt.xsd "
		version="1.0">
	<xsl:param name="library-src" />
	<xsl:param name="library-version" />
	<xsl:output method="xml"/>
	
	<xsl:template match="@*|node()" priority="-1">
	  <xsl:copy>
	    <xsl:apply-templates select="@*|node()"/>
	  </xsl:copy>
	</xsl:template>
	
	<xsl:template match="library" >
	  <xsl:element name="library">
    	<xsl:attribute name="version"><xsl:value-of select="$library-version" /></xsl:attribute>
	    <xsl:apply-templates select="@*|node()"/>
	  </xsl:element>
	</xsl:template>
	
	<xsl:template match="library/@src" >
		<xsl:attribute name="src"><xsl:value-of select="$library-src" /></xsl:attribute>
	</xsl:template>
</xsl:transform>